package com.simtop.service;

import com.github.pagehelper.PageInfo;
import com.simtop.common.ServerResponse;
import com.simtop.pojo.Robot;
import com.simtop.pojo.Robot1;
import com.simtop.pojo.RobotResult;
import com.simtop.pojo.User;

public interface U3DRobotService {
    ServerResponse<String> add(Robot1 robot, User user);

    ServerResponse<PageInfo<RobotResult>> findById(Integer id, User user, Integer pageNum, Integer pageSize);

    ServerResponse<PageInfo<Robot>> findResult(int pageNum, int pageSize, User user);

    ServerResponse<String> deleteById(int id);

    ServerResponse<PageInfo<Robot>> findByName(String name, int pageNum, int pageSize);

    ServerResponse<Integer> findUserAccount();

    ServerResponse<Integer> expAcct();

    ServerResponse<Integer> expTime();

    ServerResponse addCommitScore(Integer id, Integer commitScore, String evaluation);
}
